package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.SellerGroup;
import org.darkforest.model.SellerGroupWithBLOBs;

import java.util.List;
@DBMapper
public interface SellerGroupMapper {
    int deleteByPrimaryKey(Integer groupId);

    int insert(SellerGroupWithBLOBs record);

    int insertSelective(SellerGroupWithBLOBs record);

    SellerGroupWithBLOBs selectByPrimaryKey(Integer groupId);

    int updateByPrimaryKeySelective(SellerGroupWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(SellerGroupWithBLOBs record);

    int updateByPrimaryKey(SellerGroup record);

    List getAllGroup();
    List<SellerGroup>  findSellerGroupByCondition(SellerGroup record);

    int deleteByStoreId(Integer storeId);
}